package com.forte.fortePoiUtils.exception;

import com.forte.fortePoiUtils.commons.Datas;

/**
 * Excel文件格式或类型错误异常
 * @author ForteScarlet
 * <div>
 *		<ul>
 *  		<li> ---><a href='https://gitee.com/ForteScarlet' target='_block'>码云个人地址</a></li> </li>
 *		</ul>
 * </div>
 */
public class ExcelTypeException extends RuntimeException {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	public ExcelTypeException() {
		super("文件不是Excel文件。文件扩展名需要为." + Datas.HSSF_END + "或者." + Datas.XSSF_END);
		// TODO Auto-generated constructor stub
	}

	public ExcelTypeException(String message, Throwable cause, boolean enableSuppression,
                              boolean writableStackTrace) {
		super(message, cause, enableSuppression, writableStackTrace);
		// TODO Auto-generated constructor stub
	}

	public ExcelTypeException(String message, Throwable cause) {
		super(message, cause);
		// TODO Auto-generated constructor stub
	}

	public ExcelTypeException(String message) {
		super(message);
		// TODO Auto-generated constructor stub
	}

	public ExcelTypeException(Throwable cause) {
		super(cause);
		// TODO Auto-generated constructor stub
	}

}
